package com.black.cat.seed.entity;


import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import javax.validation.constraints.*;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 管理制度
 *
 * @author blackcat
 * @since 2021-03-25
 */
@Data
@ApiModel(description = "管理制度")
public class Management  extends  BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull()
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "资料名称")
    private String datumName;

    @ApiModelProperty(value = "上传资料")
    private String uploadDatum;

    @ApiModelProperty(value = "上传人")
    private String uploader;

    @ApiModelProperty(value = "内容简述")
    private String content;

    @ApiModelProperty(value = "上传时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date uploadTime;

    @ApiModelProperty(value = "备注")
    private String remark;

}
